package com.example.demo.entity;

public class Food {

	private int id;
	private String name;
	private int foodtype_id;
	private  String    picurl;
	private double price;
	private int status;
	
	

	
	public int getId() {
		return id;
	}


	public void setId(int id) {
		this.id = id;
	}


	public String getName() {
		return name;
	}


	public void setName(String name) {
		this.name = name;
	}


	public int getFoodtype_id() {
		return foodtype_id;
	}


	public void setFoodtype_id(int foodtype_id) {
		this.foodtype_id = foodtype_id;
	}


	public String getPicurl() {
		return picurl;
	}


	public void setPicurl(String picurl) {
		this.picurl = picurl;
	}


	public double getPrice() {
		return price;
	}


	public void setPrice(double price) {
		this.price = price;
	}


	public int getStatus() {
		return status;
	}


	public void setStatus(int status) {
		this.status = status;
	}


	public static String[] getStatuss() {
		return statuss;
	}


	public static void setStatuss(String[] statuss) {
		Food.statuss = statuss;
	}

	//关联项
	private String foodtype_name;
	public String getFoodtype_name() {
		return foodtype_name;
	}
		
	
	public void setFoodtype_name(String foodtype_name) {
		this.foodtype_name=foodtype_name;
	}
	
	public static String[] statuss= {"可用","禁用"};
	public String getStatusname() {
		return statuss[status];
	}
	
}
